package com.wanxi.util;

import com.wanxi.dto.ResultDTO;
import redis.clients.jedis.Jedis;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : 林子淳
 * @create 2023/3/14 16:29
 */
public class Verify {
    private static Jedis jedis = new Jedis();
    public static ResultDTO  passwordWrongThreeTimes(String username){

        return ResultDTO.getResult("error：密码或用户名错误请在"+Time.getTimeTnterval(jedis.ttl(username))+"时候重新输入");
    }
}
